package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 预付货款信息
 * @author 崔岳
 *
 */
@Entity
@Table(name = "account_prepay")
public class AccountPrepay extends TendBaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5469931980637826353L;
	
	/**
	 * 账户id
	 */
	private Long accountid;
	
	/**
	 * 系统注册号id
	 */
	private Long sellsyscodeid;
	
	/**
	 * 买家门店id
	 */
	private Long sellorganid;
	
	/**
	 * 对应的供应链系统中的organid
	 */
	private String sellmatchid;
	
	/**
	 * 系统注册号id
	 */
	private Long buysyscodeid;
	
	/**
	 * 卖家门店id
	 */
	private Long buyorganid;
	
	/**
	 * 对应的供应链系统中的organid
	 */
	private String buymatchid;
	
	/**
	 * 余额
	 */
	private BigDecimal balance;

	public Long getAccountid() {
		return accountid;
	}

	public void setAccountid(Long accountid) {
		this.accountid = accountid;
	}

	public Long getSellsyscodeid() {
		return sellsyscodeid;
	}

	public void setSellsyscodeid(Long sellsyscodeid) {
		this.sellsyscodeid = sellsyscodeid;
	}

	public Long getSellorganid() {
		return sellorganid;
	}

	public void setSellorganid(Long sellorganid) {
		this.sellorganid = sellorganid;
	}

	public String getSellmatchid() {
		return sellmatchid;
	}

	public void setSellmatchid(String sellmatchid) {
		this.sellmatchid = sellmatchid;
	}

	public Long getBuysyscodeid() {
		return buysyscodeid;
	}

	public void setBuysyscodeid(Long buysyscodeid) {
		this.buysyscodeid = buysyscodeid;
	}

	public Long getBuyorganid() {
		return buyorganid;
	}

	public void setBuyorganid(Long buyorganid) {
		this.buyorganid = buyorganid;
	}

	public String getBuymatchid() {
		return buymatchid;
	}

	public void setBuymatchid(String buymatchid) {
		this.buymatchid = buymatchid;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	
}
